{include file="header.html"}
{if $user_type == 1}
<div class="title tc ml-30 mr-10">
	<h2>客户走访</h2>
</div>
<div class="content px-20">
<p class="tc mt-30"><span id="btn_reg_1" class="btn w-150" style="display:inline-block"> 售前走访录入 </span></p>
<p class="tc mt-60"><span id="btn_reg_2" class="btn w-150" style="display:inline-block"> 售后走访录入  </span></p>
<script type="text/javascript">
$(function(){
	$("#btn_reg_1").click(function(){
		window.location.href = '/index.php?act=interview&st=pre_sales';
	});
	$("#btn_reg_2").click(function(){
		window.location.href = '/index.php?act=interview&st=aftermarket';
	});	
});
</script>
</div>
{else}
<script type="text/javascript">
alert('您好！此服务仅供日钢业务员使用，请先注册成为内部用户！');
document.location.href = '/index.php?act=register';
</script>
{/if}
{include file="footer.html"}